package com.qfedu.dao;

import com.qfedu.pojo.Cards;
import com.qfedu.pojo.Debit_card;

import java.math.BigDecimal;
import java.sql.Connection;
import java.util.Date;

public interface Debit_cardDao {

    Debit_card queryDebit_cardByCardnumber(String cardnumber);

    int currentToFixed(Debit_card debit_card, Date date,BigDecimal money,BigDecimal fixed_money, Connection connection);

    int fixedToCurrent(Debit_card debit_card, Date date,BigDecimal money,BigDecimal fixed_money, Connection connection);

    int updateTime(String cardnumber,String time);
}
